# coding: utf8
class Report(FPDF, HTMLMixin):

   def header(self):
       self.set_font('Arial','B',15)
       self.cell(65) # padding
       self.cell(60,10,response.title,1,0,'C')
       self.ln(20)

   def footer(self):
       self.set_y(-15)
       self.set_font('Arial','I',8)
       txt = 'Page %s of %s' % (self.page_no(), self.alias_nb_pages())
       self.cell(0,10,txt,0,0,'C')
